@import url(../base.css);

#calculadora {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
}


main {
    width: 80vw;
}

article {
    width: 65vw;
}

#imgatividade {
    max-width: 100%;
}

p {
    font-size: 20px;
}

select {
    width: 270px;
    padding: 5px;
    height: 35px;
    font-size: 18px;
    position: absolute;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.171);
    border-bottom: 2px solid rgba(0, 0, 0, 0.651);
    border-right: 2px solid rgba(0, 0, 0, 0.651);
    border-bottom-right-radius: 7px;
}


section form {
    height: 250px;
    padding: 20px 0 0 100px;
}

label {
    font-size: 22px;
}
span {
    font-size: 18px;
}

section form input::placeholder {
    font-weight: bold;
}

section form input {
    padding-left: 2%;
    border-top: none;
    border-left: none;
    font-size: 18px;
    width: 80px;
    height: 40px;
    margin: 10px 10px 50px 0;
}

section form button {
    background-color: var(---color-primary);
    height: 50px;
    width: 220px;
    font-size: 16px;
    border-bottom-right-radius: 7px;
}

form button:hover{
    background-color: var(---color-secundary);
}

#result {
    height: 230px;
    width: 370px;
    display:block;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    border-radius: 0 7px 7px 7px;
    text-align: center;
}

#result p {
    padding: 50px;
    font-size: 32px;
    height: 100%;
}

#fundo {
    background-color: rgba(0, 0, 0, 0.75);
    max-height: 100%;
    max-width: 100%;
    border-radius: 0 7px 7px 7px;
    position: absolute;
    z-index: 2;
}

h2 {
    margin: 0 0 10px 0;
}

h3 {
    font-size: 24px;
    padding: 10px 0;
}

#imgatividade {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0 7px 7px 7px;
    z-index: 1;
    display: none;
}

#queimado {
    text-shadow: 0;
    font-size: 54px;
    color: white;
    font-weight: bold;
}

article p {
    padding: 10px 0 10px 0;
}

@media only screen and (max-width: 992px) {

    main {
        width: auto;
    }

    article {
        width: 85vw;
    }

    section form {
        padding: 20px 0 0 0;
    }

    section form input {
        margin: 10px 10px 22px 0;
    }

    #result {
        width: 300px;
    }

    #result p {
        padding: 26px;
    }

    #fundo {
        height: 200px;
    }
  } 